import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.client.ConnectionFactory;
import org.apache.hadoop.hbase.util.Bytes;
import org.junit.Test;

import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;

public class T {
    public static void main(String[] args) {
//        System.out.println(Arrays.toString(Bytes.toBytesBinary("0000003C000031F0000000000000F548")));
        char index = '_';
//        System.out.println("0000003C00004229000000000001977B_pe".charAt(32)==index);
        String rowkey = "0000003C00004229000000000001977B_pe";
        if(rowkey.length()>32&&rowkey.charAt(32)==index){
            System.out.println("true");
        }
        System.out.println(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date(1536731494115l)));
    }
   /* @Test
    public void hbaseRead(){
        Configuration conf = HBaseConfiguration.create();
        conf.set("hbase.zookeeper.quorum","192.168.0.85:2181");
        conf.set("");
    }*/
}
